﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;
namespace BLL_HealthInsurance
{
   public class BLLPolicyTotalDes
    {
       DAOPolicyTotalDes objDAOPoToDes = new DAOPolicyTotalDes();


       public DataTable ListPolicy()
       {
           return objDAOPoToDes.ListPoToDes();
       }
       public int insertPolicy(DTOPolicyTotalDescription objPoToDes)
       {
           return objDAOPoToDes.InsertPoToDes(objPoToDes);
       }
       public int updatePolicy(DTOPolicyTotalDescription objPoToDes)
       {
           return objDAOPoToDes.UpdatePoToDes(objPoToDes);
       }
       public int deletePolicy(DTOPolicyTotalDescription objPoToDes)
       {
           return objDAOPoToDes.DeletePoToDes(objPoToDes);
       }
       public DataTable GetPolicyById(DTOPolicyTotalDescription objPoToDes)
       {
           return objDAOPoToDes.GetPoToDesByPoId(objPoToDes);
       }
    }
}
